/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-09-12 18:50:02
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-09-16 19:45:46
 * @FilePath: \郭招娣\app\src\router\addRouter.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-09-12 18:50:02
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-09-13 18:43:54
 * @FilePath: \郭招娣\app\src\router\addRouter.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default [
    {
        path: '/layout',
        name: 'layout',
        redirect:'/layout/job',
        title:'布局',
        meta: {
            author: ['TC', 'USER'],
            
        },
        component: () => import(/* webpackChunkName: "Layout" */ '../views/Layout.vue'),
        children: [
            {
                path: '/layout/job',
                name: 'job',
                title: '工作台',
                meta: {
                    author: ['TC', 'USER'],
                    title: '工作台',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Work.vue'),
                
            },
          
            {
                path: '/layout/message',
                name: 'message',
                title: '文章管理',
                meta: {
                    author: ['TC', 'USER'],
                    title: '文章管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Message.vue'),
                children:[
                    {
                        path: '/layout/all',
                        name: 'all',
                        title: '所有文章',
                        meta: {
                            author: ['TC', 'USER'],
                            breadList: ['文章管理', '所有文章'],
                            title: '所有文章',
                        },
                        component: () => import(/* webpackChunkName: "about" */ '../views/All.vue'),

                    },
                    {
                        path: '/layout/class',
                        name: 'class',
                        title: '分类管理',
                        meta: {
                            author: ['TC', 'USER'],
                            breadList: ['文章管理', '分类管理'],
                            title: '分类管理',
                        },
                        component: () => import(/* webpackChunkName: "about" */ '../views/Class.vue'),

                    },
                    {
                        path: '/layout/tag',
                        name: 'tag',
                        title: '标签管理',
                        meta: {
                            author: ['TC', 'USER'],
                            breadList: ['文章管理', '标签管理'],
                            title: '标签管理',
                        },
                        component: () => import(/* webpackChunkName: "about" */ '../views/Tag.vue'),

                    },
                ]
            },
            {
                path: '/layout/page',
                name: 'page',
                title: '页面管理',
                meta: {
                    author: ['TC'],
                    breadList: ['页面管理'],
                    title: '页面管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Page.vue'),

            },
            {
                path: '/layout/knowledge',
                name: 'knowledge',
                title: '知识小册',
                meta: {
                    author: ['TC'],
                    breadList: ['知识小册'],
                    title: '知识小册',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Knowledge.vue'),

            },
            {
                path: '/layout/poster',
                name: 'poster',
                title: '海报管理',
                meta: {
                    author: ['TC'],
                    breadList: ['海报管理'],
                    title: '海报管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Poster.vue'),

            },
            {
                path: '/layout/comment',
                name: 'comment',
                title: '评论管理',
                meta: {
                    author: ['TC'],
                    breadList: ['评论管理'],
                    title: '评论管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Comment.vue'),

            },
            {
                path: '/layout/email',
                name: 'email',
                title: '邮件管理',
                meta: {
                    author: ['TC', 'USER'],
                    breadList: ['邮件管理'],
                    title: '邮件管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Email.vue'),

            },
            {
                path: '/layout/file',
                name: 'file',
                title: '文件管理',
                meta: {
                    author: ['TC'],
                    breadList: ['文件管理'],
                    title: '文件管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/File.vue'),

            },
            {
                path: '/layout/search',
                name: 'search',
                title: '搜索记录',
                meta: {
                    author: ['TC'],
                    breadList: ['搜索记录'],
                    title: '搜索记录',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Search.vue'),

            },
            {
                path: '/layout/access',
                name: 'access',
                title: '访问记录',
                meta: {
                    author: ['TC'],
                    breadList: ['访问记录'],
                    title: '搜索记录',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Access.vue'),

            },
            {
                path: '/layout/users',
                name: 'users',
                title: '用户管理',
                meta: {
                    author: ['TC'],
                    breadList: ['用户管理'],
                    title: '用户管理',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/Users.vue'),

            },
            {
                path: '/layout/system',
                name: 'system',
                title: '系统设置',
                meta: {
                    author: ['TC'],
                    breadList: ['系统设置'],
                    title: '系统设置',
                },
                component: () => import(/* webpackChunkName: "about" */ '../views/System.vue'),

            },
        ]
    },
    {
        path: '/articleEdit',
        name: 'articleEdit',
        title: '文章编辑',
        meta: {
            author: ['TC'],
            title: '文章编辑',
        },
        component: () => import(/* webpackChunkName: "about" */ '../views/articleEdit.vue'),

    },

]